/**
 * Created by rockyren on 14/11/29.
 */
personalApp.factory('baseinfoServices',['$http',function($http){
  var baseinfoUrl = 'api/personal/baseinfo';
  return {
    get: function(){
      return $http.get(baseinfoUrl);
    },
    update: function(postData){
      return $http.put(baseinfoUrl,postData);
    }
  }
}]);